package com.example.j2025_11_10.service;

import com.example.j2025_11_10.Model.BookInfo;
import com.example.j2025_11_10.mapper.QueryBookByIdMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QueryBookByIdService {
    @Autowired
    public QueryBookByIdMapper queryBookByIdMapper;
    public BookInfo queryBookById(Integer bookId){
        return queryBookByIdMapper.queryBookById(bookId);
    }


}
